package com.cowain.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cowain.base.core.domain.vo.SysRoleVo;
import com.cowain.base.core.domain.entity.SysRoleEntity;

/**
 * @author songxz
 * @date 2022/11/9
 */
public interface SysRoleService extends IService<SysRoleEntity> {
    /**
     * 新增角色
     * @param role
     * @return
     */
    boolean add(SysRoleVo role);

    /**
     * 修改角色
     * @param role
     * @return
     */
    boolean edit(SysRoleVo role);
}
